package com.nuit.cxl.ch2.dao;

import com.nuit.cxl.ch2.vo.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

//从数据库里面拿数据
@Component
public class HelloWorldMapper {

    public Student getOneStudent() {
        Student student = new Student();
        student.setAge(18);
        student.setName("lilei");
        return student;
    }
}
